﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SMARTHOTEL.RoomMoneys
{
    public class ResultDto
    {
        public virtual StatusCode Code { get; set; }
        public string Msg { get; set; }
    }

    public class ResultDto<TData> : ResultDto
    {
        public TData Data { get; set; }

    }


    public enum StatusCode
    {
        [Description("成功")]
        Success = 200,
        [Description("失败")]
        Faield = 500,
    }
}
